
myprocess:     file format elf64-x86-64


Disassembly of section .init:

00000000004004c8 <_init>:
  4004c8:	48 83 ec 08          	sub    $0x8,%rsp
  4004cc:	48 8b 05 25 0b 20 00 	mov    0x200b25(%rip),%rax        # 600ff8 <__gmon_start__>
  4004d3:	48 85 c0             	test   %rax,%rax
  4004d6:	74 05                	je     4004dd <_init+0x15>
  4004d8:	e8 53 00 00 00       	callq  400530 <__gmon_start__@plt>
  4004dd:	48 83 c4 08          	add    $0x8,%rsp
  4004e1:	c3                   	retq   

Disassembly of section .plt:

00000000004004f0 <.plt>:
  4004f0:	ff 35 12 0b 20 00    	pushq  0x200b12(%rip)        # 601008 <_GLOBAL_OFFSET_TABLE_+0x8>
  4004f6:	ff 25 14 0b 20 00    	jmpq   *0x200b14(%rip)        # 601010 <_GLOBAL_OFFSET_TABLE_+0x10>
  4004fc:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000400500 <getpid@plt>:
  400500:	ff 25 12 0b 20 00    	jmpq   *0x200b12(%rip)        # 601018 <getpid@GLIBC_2.2.5>
  400506:	68 00 00 00 00       	pushq  $0x0
  40050b:	e9 e0 ff ff ff       	jmpq   4004f0 <.plt>

0000000000400510 <printf@plt>:
  400510:	ff 25 0a 0b 20 00    	jmpq   *0x200b0a(%rip)        # 601020 <printf@GLIBC_2.2.5>
  400516:	68 01 00 00 00       	pushq  $0x1
  40051b:	e9 d0 ff ff ff       	jmpq   4004f0 <.plt>

0000000000400520 <__libc_start_main@plt>:
  400520:	ff 25 02 0b 20 00    	jmpq   *0x200b02(%rip)        # 601028 <__libc_start_main@GLIBC_2.2.5>
  400526:	68 02 00 00 00       	pushq  $0x2
  40052b:	e9 c0 ff ff ff       	jmpq   4004f0 <.plt>

0000000000400530 <__gmon_start__@plt>:
  400530:	ff 25 fa 0a 20 00    	jmpq   *0x200afa(%rip)        # 601030 <__gmon_start__>
  400536:	68 03 00 00 00       	pushq  $0x3
  40053b:	e9 b0 ff ff ff       	jmpq   4004f0 <.plt>

0000000000400540 <getppid@plt>:
  400540:	ff 25 f2 0a 20 00    	jmpq   *0x200af2(%rip)        # 601038 <getppid@GLIBC_2.2.5>
  400546:	68 04 00 00 00       	pushq  $0x4
  40054b:	e9 a0 ff ff ff       	jmpq   4004f0 <.plt>

0000000000400550 <sleep@plt>:
  400550:	ff 25 ea 0a 20 00    	jmpq   *0x200aea(%rip)        # 601040 <sleep@GLIBC_2.2.5>
  400556:	68 05 00 00 00       	pushq  $0x5
  40055b:	e9 90 ff ff ff       	jmpq   4004f0 <.plt>

0000000000400560 <fork@plt>:
  400560:	ff 25 e2 0a 20 00    	jmpq   *0x200ae2(%rip)        # 601048 <fork@GLIBC_2.2.5>
  400566:	68 06 00 00 00       	pushq  $0x6
  40056b:	e9 80 ff ff ff       	jmpq   4004f0 <.plt>

Disassembly of section .text:

0000000000400570 <_start>:
  400570:	31 ed                	xor    %ebp,%ebp
  400572:	49 89 d1             	mov    %rdx,%r9
  400575:	5e                   	pop    %rsi
  400576:	48 89 e2             	mov    %rsp,%rdx
  400579:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
  40057d:	50                   	push   %rax
  40057e:	54                   	push   %rsp
  40057f:	49 c7 c0 c0 07 40 00 	mov    $0x4007c0,%r8
  400586:	48 c7 c1 50 07 40 00 	mov    $0x400750,%rcx
  40058d:	48 c7 c7 5d 06 40 00 	mov    $0x40065d,%rdi
  400594:	e8 87 ff ff ff       	callq  400520 <__libc_start_main@plt>
  400599:	f4                   	hlt    
  40059a:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)

00000000004005a0 <deregister_tm_clones>:
  4005a0:	b8 5f 10 60 00       	mov    $0x60105f,%eax
  4005a5:	55                   	push   %rbp
  4005a6:	48 2d 58 10 60 00    	sub    $0x601058,%rax
  4005ac:	48 83 f8 0e          	cmp    $0xe,%rax
  4005b0:	48 89 e5             	mov    %rsp,%rbp
  4005b3:	77 02                	ja     4005b7 <deregister_tm_clones+0x17>
  4005b5:	5d                   	pop    %rbp
  4005b6:	c3                   	retq   
  4005b7:	b8 00 00 00 00       	mov    $0x0,%eax
  4005bc:	48 85 c0             	test   %rax,%rax
  4005bf:	74 f4                	je     4005b5 <deregister_tm_clones+0x15>
  4005c1:	5d                   	pop    %rbp
  4005c2:	bf 58 10 60 00       	mov    $0x601058,%edi
  4005c7:	ff e0                	jmpq   *%rax
  4005c9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000004005d0 <register_tm_clones>:
  4005d0:	b8 58 10 60 00       	mov    $0x601058,%eax
  4005d5:	55                   	push   %rbp
  4005d6:	48 2d 58 10 60 00    	sub    $0x601058,%rax
  4005dc:	48 c1 f8 03          	sar    $0x3,%rax
  4005e0:	48 89 e5             	mov    %rsp,%rbp
  4005e3:	48 89 c2             	mov    %rax,%rdx
  4005e6:	48 c1 ea 3f          	shr    $0x3f,%rdx
  4005ea:	48 01 d0             	add    %rdx,%rax
  4005ed:	48 d1 f8             	sar    %rax
  4005f0:	75 02                	jne    4005f4 <register_tm_clones+0x24>
  4005f2:	5d                   	pop    %rbp
  4005f3:	c3                   	retq   
  4005f4:	ba 00 00 00 00       	mov    $0x0,%edx
  4005f9:	48 85 d2             	test   %rdx,%rdx
  4005fc:	74 f4                	je     4005f2 <register_tm_clones+0x22>
  4005fe:	5d                   	pop    %rbp
  4005ff:	48 89 c6             	mov    %rax,%rsi
  400602:	bf 58 10 60 00       	mov    $0x601058,%edi
  400607:	ff e2                	jmpq   *%rdx
  400609:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000400610 <__do_global_dtors_aux>:
  400610:	80 3d 41 0a 20 00 00 	cmpb   $0x0,0x200a41(%rip)        # 601058 <__TMC_END__>
  400617:	75 11                	jne    40062a <__do_global_dtors_aux+0x1a>
  400619:	55                   	push   %rbp
  40061a:	48 89 e5             	mov    %rsp,%rbp
  40061d:	e8 7e ff ff ff       	callq  4005a0 <deregister_tm_clones>
  400622:	5d                   	pop    %rbp
  400623:	c6 05 2e 0a 20 00 01 	movb   $0x1,0x200a2e(%rip)        # 601058 <__TMC_END__>
  40062a:	f3 c3                	repz retq 
  40062c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000400630 <frame_dummy>:
  400630:	48 83 3d e8 07 20 00 	cmpq   $0x0,0x2007e8(%rip)        # 600e20 <__JCR_END__>
  400637:	00 
  400638:	74 1e                	je     400658 <frame_dummy+0x28>
  40063a:	b8 00 00 00 00       	mov    $0x0,%eax
  40063f:	48 85 c0             	test   %rax,%rax
  400642:	74 14                	je     400658 <frame_dummy+0x28>
  400644:	55                   	push   %rbp
  400645:	bf 20 0e 60 00       	mov    $0x600e20,%edi
  40064a:	48 89 e5             	mov    %rsp,%rbp
  40064d:	ff d0                	callq  *%rax
  40064f:	5d                   	pop    %rbp
  400650:	e9 7b ff ff ff       	jmpq   4005d0 <register_tm_clones>
  400655:	0f 1f 00             	nopl   (%rax)
  400658:	e9 73 ff ff ff       	jmpq   4005d0 <register_tm_clones>

000000000040065d <main>:
  40065d:	55                   	push   %rbp
  40065e:	48 89 e5             	mov    %rsp,%rbp
  400661:	41 54                	push   %r12
  400663:	53                   	push   %rbx
  400664:	48 83 ec 10          	sub    $0x10,%rsp
  400668:	e8 d3 fe ff ff       	callq  400540 <getppid@plt>
  40066d:	89 c3                	mov    %eax,%ebx
  40066f:	e8 8c fe ff ff       	callq  400500 <getpid@plt>
  400674:	89 da                	mov    %ebx,%edx
  400676:	89 c6                	mov    %eax,%esi
  400678:	bf e0 07 40 00       	mov    $0x4007e0,%edi
  40067d:	b8 00 00 00 00       	mov    $0x0,%eax
  400682:	e8 89 fe ff ff       	callq  400510 <printf@plt>
  400687:	e8 d4 fe ff ff       	callq  400560 <fork@plt>
  40068c:	89 45 e8             	mov    %eax,-0x18(%rbp)
  40068f:	83 7d e8 00          	cmpl   $0x0,-0x18(%rbp)
  400693:	75 71                	jne    400706 <main+0xa9>
  400695:	c7 45 ec 00 00 00 00 	movl   $0x0,-0x14(%rbp)
  40069c:	44 8b 25 b1 09 20 00 	mov    0x2009b1(%rip),%r12d        # 601054 <g_val>
  4006a3:	e8 98 fe ff ff       	callq  400540 <getppid@plt>
  4006a8:	89 c3                	mov    %eax,%ebx
  4006aa:	e8 51 fe ff ff       	callq  400500 <getpid@plt>
  4006af:	41 b8 54 10 60 00    	mov    $0x601054,%r8d
  4006b5:	44 89 e1             	mov    %r12d,%ecx
  4006b8:	89 da                	mov    %ebx,%edx
  4006ba:	89 c6                	mov    %eax,%esi
  4006bc:	bf 08 08 40 00       	mov    $0x400808,%edi
  4006c1:	b8 00 00 00 00       	mov    $0x0,%eax
  4006c6:	e8 45 fe ff ff       	callq  400510 <printf@plt>
  4006cb:	bf 01 00 00 00       	mov    $0x1,%edi
  4006d0:	e8 7b fe ff ff       	callq  400550 <sleep@plt>
  4006d5:	83 45 ec 01          	addl   $0x1,-0x14(%rbp)
  4006d9:	83 7d ec 03          	cmpl   $0x3,-0x14(%rbp)
  4006dd:	75 25                	jne    400704 <main+0xa7>
  4006df:	c7 05 6b 09 20 00 2c 	movl   $0x12c,0x20096b(%rip)        # 601054 <g_val>
  4006e6:	01 00 00 
  4006e9:	ba 2c 01 00 00       	mov    $0x12c,%edx
  4006ee:	be 64 00 00 00       	mov    $0x64,%esi
  4006f3:	bf 40 08 40 00       	mov    $0x400840,%edi
  4006f8:	b8 00 00 00 00       	mov    $0x0,%eax
  4006fd:	e8 0e fe ff ff       	callq  400510 <printf@plt>
  400702:	eb 98                	jmp    40069c <main+0x3f>
  400704:	eb 96                	jmp    40069c <main+0x3f>
  400706:	44 8b 25 47 09 20 00 	mov    0x200947(%rip),%r12d        # 601054 <g_val>
  40070d:	e8 2e fe ff ff       	callq  400540 <getppid@plt>
  400712:	89 c3                	mov    %eax,%ebx
  400714:	e8 e7 fd ff ff       	callq  400500 <getpid@plt>
  400719:	41 b8 54 10 60 00    	mov    $0x601054,%r8d
  40071f:	44 89 e1             	mov    %r12d,%ecx
  400722:	89 da                	mov    %ebx,%edx
  400724:	89 c6                	mov    %eax,%esi
  400726:	bf 68 08 40 00       	mov    $0x400868,%edi
  40072b:	b8 00 00 00 00       	mov    $0x0,%eax
  400730:	e8 db fd ff ff       	callq  400510 <printf@plt>
  400735:	bf 01 00 00 00       	mov    $0x1,%edi
  40073a:	e8 11 fe ff ff       	callq  400550 <sleep@plt>
  40073f:	eb c5                	jmp    400706 <main+0xa9>
  400741:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
  400748:	00 00 00 
  40074b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000400750 <__libc_csu_init>:
  400750:	41 57                	push   %r15
  400752:	41 89 ff             	mov    %edi,%r15d
  400755:	41 56                	push   %r14
  400757:	49 89 f6             	mov    %rsi,%r14
  40075a:	41 55                	push   %r13
  40075c:	49 89 d5             	mov    %rdx,%r13
  40075f:	41 54                	push   %r12
  400761:	4c 8d 25 a8 06 20 00 	lea    0x2006a8(%rip),%r12        # 600e10 <__frame_dummy_init_array_entry>
  400768:	55                   	push   %rbp
  400769:	48 8d 2d a8 06 20 00 	lea    0x2006a8(%rip),%rbp        # 600e18 <__init_array_end>
  400770:	53                   	push   %rbx
  400771:	4c 29 e5             	sub    %r12,%rbp
  400774:	31 db                	xor    %ebx,%ebx
  400776:	48 c1 fd 03          	sar    $0x3,%rbp
  40077a:	48 83 ec 08          	sub    $0x8,%rsp
  40077e:	e8 45 fd ff ff       	callq  4004c8 <_init>
  400783:	48 85 ed             	test   %rbp,%rbp
  400786:	74 1e                	je     4007a6 <__libc_csu_init+0x56>
  400788:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
  40078f:	00 
  400790:	4c 89 ea             	mov    %r13,%rdx
  400793:	4c 89 f6             	mov    %r14,%rsi
  400796:	44 89 ff             	mov    %r15d,%edi
  400799:	41 ff 14 dc          	callq  *(%r12,%rbx,8)
  40079d:	48 83 c3 01          	add    $0x1,%rbx
  4007a1:	48 39 eb             	cmp    %rbp,%rbx
  4007a4:	75 ea                	jne    400790 <__libc_csu_init+0x40>
  4007a6:	48 83 c4 08          	add    $0x8,%rsp
  4007aa:	5b                   	pop    %rbx
  4007ab:	5d                   	pop    %rbp
  4007ac:	41 5c                	pop    %r12
  4007ae:	41 5d                	pop    %r13
  4007b0:	41 5e                	pop    %r14
  4007b2:	41 5f                	pop    %r15
  4007b4:	c3                   	retq   
  4007b5:	90                   	nop
  4007b6:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
  4007bd:	00 00 00 

00000000004007c0 <__libc_csu_fini>:
  4007c0:	f3 c3                	repz retq 

Disassembly of section .fini:

00000000004007c4 <_fini>:
  4007c4:	48 83 ec 08          	sub    $0x8,%rsp
  4007c8:	48 83 c4 08          	add    $0x8,%rsp
  4007cc:	c3                   	retq   
